package com.scm.entity;

import java.util.List;

/**
 * @author CHL
 * @ClassName: Scmuser
 * @Description: TODO
 * @date 2022/3/8 15:10
 * @Version 1.0
 */
public class Scmuser
{
    private String account;
    private String passWord;
    private String name;
    private String createDate;
    private Integer status;
    private List<UserModel> models;

    public void setAccount(String account)
    {
        this.account = account;
    }

    public void setPassWord(String passWord)
    {
        this.passWord = passWord;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public void setModels(List<UserModel> models)
    {
        this.models = models;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof Scmuser)) {
            return false;
        }
        Scmuser other = (Scmuser)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$account = getAccount();Object other$account = other.getAccount();
        if (this$account == null ? other$account != null : !this$account.equals(other$account)) {
            return false;
        }
        Object this$passWord = getPassWord();Object other$passWord = other.getPassWord();
        if (this$passWord == null ? other$passWord != null : !this$passWord.equals(other$passWord)) {
            return false;
        }
        Object this$name = getName();Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
            return false;
        }
        Object this$createDate = getCreateDate();Object other$createDate = other.getCreateDate();
        if (this$createDate == null ? other$createDate != null : !this$createDate.equals(other$createDate)) {
            return false;
        }
        Object this$models = getModels();Object other$models = other.getModels();return this$models == null ? other$models == null : this$models.equals(other$models);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof Scmuser;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $account = getAccount();result = result * 59 + ($account == null ? 43 : $account.hashCode());Object $passWord = getPassWord();result = result * 59 + ($passWord == null ? 43 : $passWord.hashCode());Object $name = getName();result = result * 59 + ($name == null ? 43 : $name.hashCode());Object $createDate = getCreateDate();result = result * 59 + ($createDate == null ? 43 : $createDate.hashCode());Object $models = getModels();result = result * 59 + ($models == null ? 43 : $models.hashCode());return result;
    }

    public String toString()
    {
        return "Scmuser(account=" + getAccount() + ", passWord=" + getPassWord() + ", name=" + getName() + ", createDate=" + getCreateDate() + ", status=" + getStatus() + ", models=" + getModels() + ")";
    }

    public String getAccount()
    {
        return this.account;
    }

    public String getPassWord()
    {
        return this.passWord;
    }

    public String getName()
    {
        return this.name;
    }

    public String getCreateDate()
    {
        return this.createDate;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public List<UserModel> getModels()
    {
        return this.models;
    }
}

